package com.jxmcloud.business.cut.config;

import com.jxmcloud.business.cut.props.CutProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import com.jxmcloud.business.cut.util.*;

/**
 * 砍一刀自动配置
 * @author chenhao
 */
@Configuration
@MapperScan(basePackages={"com.jxmcloud.business.cut.mapper"})
@ComponentScan(basePackages={"com.jxmcloud.business.cut"})
@EnableFeignClients(basePackages={"com.jxmcloud.business.cut.feign"})
@EnableConfigurationProperties(CutProperties.class)
//@ConditionalOnProperty(value = RecProperties.PREFIX + ".enabled", havingValue = "true", matchIfMissing = true)
public class CutConfiguration {

}